# Description: MATE için bir pencere yöneticisi
# URL: http://www.mate-desktop.org/
# Packager: yasarciv67@gmail.com
# Depends on: libcanberra libgtop mate-desktop zenity intltool itstool

name=marco
version=1.18.1
release=1
source=(http://pub.mate-desktop.org/releases/${version%.*}/$name-$version.tar.xz)

build() {
  cd $name-$version
      ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --enable-startup-notification

    #https://bugzilla.gnome.org/show_bug.cgi?id=656231
    sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
  make DESTDIR=$PKG install
}
